
package com.snail.mobile.sim.oss.dictionaryinfo.service;

import java.util.Collection;
import java.util.List;

import com.snail.mobile.sim.oss.dictionaryinfo.model.TblDictionaryInfoOss;
import com.sungrid.seine.oss.framework.service.BaseManager;

public interface TblDictionaryInfoOssManager extends BaseManager
{
    /**
     * Retrieves all of the tblDictionaryInfoOsss
     */
    public List getTblDictionaryInfoOsss(TblDictionaryInfoOss tblDictionaryInfoOss);

    /**
     * Gets tblDictionaryInfoOss's information based on nid.
     * @param nid
     *            the tblDictionaryInfoOss's nid
     * @return tblDictionaryInfoOss populated tblDictionaryInfoOss object
     */
    public TblDictionaryInfoOss getTblDictionaryInfoOss(final String nid);

    /**
     * Saves a tblDictionaryInfoOss's information
     * @param tblDictionaryInfoOss 
     *            the object to be saved
     */
    public void saveTblDictionaryInfoOss(TblDictionaryInfoOss tblDictionaryInfoOss);

    /**
     * Removes a tblDictionaryInfoOss from the database by nid
     * @param nid
     *            the tblDictionaryInfoOss's nid
     */
    public void removeTblDictionaryInfoOss(final String nid);

    /**
     * Removes the tblDictionaryInfoOsss from the database
     * @param tblDictionaryInfoOsss
     *            the tblDictionaryInfoOsss to be removed
     */
    public void removeTblDictionaryInfoOsss(final Collection tblDictionaryInfoOsss);

    /**
     * Saves the tblDictionaryInfoOsss from the database
     * @param tblDictionaryInfoOsss
     *            the tblDictionaryInfoOsss to be saved
     */
    public void saveTblDictionaryInfoOsss(final Collection tblDictionaryInfoOsss);
    
    public List<TblDictionaryInfoOss> getDictionaryInfoOsslst(String dicName);
    
    public String getValueByKey(String name, String key);
}

